﻿using System;
using System.Collections.Generic;

namespace ZZQFrameWork.AI
{

    #region 装饰节点子节点

    /// <summary>
    /// Not装饰节点,把需要装饰的节点结果反转
    /// </summary>
    public class Not : DecoratorNode
    {
        public override Enum_BTState Proc(EntityParent owner)
        {
            if (base.Proc(owner)==Enum_BTState.Success)return Enum_BTState.Failure;
            return Enum_BTState.Success;
        }
    }

    #endregion

    public class DecoratorNodes
    {
    }
}